
#ifndef __IMAGECTRLBOX_H__
#define __IMAGECTRLBOX_H__

#include <list>
#include "imagectrl.h"

class ImageCtrlBox
{
public:
	ImageCtrlBox(void);
	virtual ~ImageCtrlBox(void);
	virtual void Load();
	virtual void UnLoad();
	virtual void SetRect(const RECT& rect);
	virtual RECT GetRect();
	virtual void Draw(HDC dc);
	virtual bool MouseMove(const POINT& point);
	virtual bool MouseDown(const POINT& point);
	virtual bool MouseUp(const POINT& point);
	virtual long GetContentHeight();
	virtual void ScrollTo(long posy);

protected:
	std::list<ImageCtrl*> m_imagectrls;
	RECT m_rect;
	long m_posy;

	virtual void Layout();

};

#endif //__IMAGECTRLBOX_H__
